.inputBox{
    display: flex;
    align-items: center;
    background-color: red;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
}
.inputBox input{
    height: 40px;
    width: 80%;
    background-color: #fff;
    outline: none;
    border: 1px solid #ccc;
    padding-left: 20px;
}
.inputBox input span{
    flex: 1;
    color: #fff;
    text-align: center;
}